package cn.com.wangluotongxin.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 网络通信-管理端-商品规格信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("admin_goods_standard")
@ApiModel(value = "AdminGoodsStandard对象", description = "网络通信-管理端-商品规格信息")
public class AdminGoodsStandard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商户ID")
    private Integer tenantId;

    @ApiModelProperty("主商品ID")
    private Integer adminGoodsId;

    @ApiModelProperty("规格ID")
    private Integer standardId;

    @ApiModelProperty("规格名称")
    private String standardName;

    @ApiModelProperty("颜色ID")
    private Integer colorId;

    @ApiModelProperty("颜色名称")
    private String colorName;

    @ApiModelProperty("尺码ID")
    private Integer sizeId;

    @ApiModelProperty("尺码名称")
    private String sizeName;

    @ApiModelProperty("单位ID")
    private Integer unitId;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("原价")
    private BigDecimal oriPrice;

    @ApiModelProperty("销售价")
    private BigDecimal salePrice;

    @ApiModelProperty("库存数量")
    private Double stockNumber;

    @ApiModelProperty("销售数量")
    private Double saleNumber;

    @ApiModelProperty("规格图片")
    private String standardImages;

    @ApiModelProperty("备注")
    private String standardRemark;

    @ApiModelProperty("上架状态:0.下架 1.上架")
    private Integer isSale;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
